home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / misc2 / wnbrag.zip / WINBRAG.TXT < prev   
Text File  |  1991-01-28  |  5KB  |  105 lines

  1. WINBRAG.TXT                                      January 28, 1991
  2.  
  3. The recent excitement over the newfound ability to change the
  4. default  Windows 3.0 brag screen prompted me to write WINBRAG.
  5. This program's  sole purpose is to simplify the steps required to
  6. make the changeover to the startup screen of your choice.
  7.  
  8. Mike Mezaros (75500,655) first published and released into the
  9. public domain a method of changing the startup screen.  To
  10. summarize Mike's  method:  Create a graphics file and save it in
  11. the Windows RLE format. A program called WinGIF (available on
  12. Compuserve) does the conversion  to RLE from BMP and GIF formats
  13. quite nicely.  Name the file xxxxLOGO.RLE, where xxxx is either
  14. HERC, EGA, or VGA, depending on your monitor type. Now, run the
  15. Windows Setup program.  Tell Setup that you want to change your
  16. video driver.  Change the video driver to the SAME driver as you
  17. are now using.  Setup will work for a while then ask to reboot
  18. Windows or  return to DOS.  Choose Return to DOS.  Start Windows
  19. again.  The new screen should be displayed on startup.  Whew...I
  20. think I got it all!
  21.  
  22. Mike later updated his instructions based on some feedback he
  23. received. Mike wrote that Charles Kistler (72137,775) came up
  24. with a method of making the changes to the startup file using the
  25. DOS Debug utility and the copy command.
  26.  
  27. I took Mr. Kistler's idea one step further and wrote a quick and
  28. dirty (once I found my old compiler reference manual and brushed
  29. off the dust!) Turbo Pascal program that basically performs the
  30. various steps with one simple command.  Such is the short history
  31. of WINBRAG.  I've included the source code for those who are
  32. interested.  It's not pretty, it's not elegant, it's not even
  33. commented! But it only took ten minutes to write.
  34.  
  35. The basic premise behind WINBRAG is that there is a basic kernel
  36. to the  file that starts Windows.  This kernel is $11E0 bytes
  37. long (don't have my hex to decimal calculator <grin>).  Appended
  38. to the end of the kernel is the RLE file that is displayed when
  39. Windows starts up.  The Windows startup file is WIN.COM.  WINBRAG
  40. simply copies the first $11E0 bytes of WIN.COM then copies the
  41. RLE file right behind it, creating a new Windows startup file.
  42. The new startup executable file is named NEWWIN.COM.  You
  43. shouldn't even have to make a backup copy of WIN.COM when using
  44. WINBRAG (BUT--backups are always recommended!).
  45.  
  46. WINBRAG itself has no limitations (what do you expect from a ten
  47. minute  program?), but there are some inherent limitations to the
  48. WIN.COM file  that will undoubtedly cause some grief for a few
  49. people.  The biggest  problem that you may run in to is the
  50. 64Kbyte ($FFFF) limitation that DOS places on COM files.  The
  51. 64Kbyte limitation is a result of the memory segmentation scheme
  52. used when any Intel 80x86 microprocessors is run in real mode.
  53. What does this mean to you? Well, in a nutshell, you cannot use
  54. an RLE file greater than 60958 bytes in length.  Doing so will
  55. create a COM file greater than 64Kbytes long and DOS will refuse
  56. to execute it!  So, I wrote WINBRAG to trap out RLE files with
  57. lengths greater than 60958 bytes ($FFFF-$11E0) and return an
  58. appropriate message.  Without the trap, WINBRAG is more than
  59. happy to create huge COM files for you, but they would not be
  60. executable and would probably  puzzle a few people.
  61.  
  62.  
  63.  
  64. To use WINBRAG:
  65.  
  66. Create your RLE file. The file's name does not matter.
  67.  
  68. Run WINBRAG.  WIN.COM must be in your current directory.
  69.  
  70. Enter the name (including drive and path, if you like) of
  71. the RLE file.  Include the extension.  RLE is not assumed.
  72.  
  73. The program will process for a second or so.
  74.  
  75. You will be left at the DOS prompt with a new file named
  76. NEWWIN.COM in your current directory.
  77.  
  78. Make sure NEWWIN.COM is in your Windows directory.
  79.  
  80. Type NEWWIN to start Windows with YOUR new startup screen.
  81.  
  82.  
  83.  
  84. If you have comments or suggestions, leave a message for me, Paul
  85. Delys, at 73500,2777 on Compuserve.  This is my first upload and
  86. I would appreciate feedback from anyone.
  87.  
  88. To follow the signs of the times:  I will not be responsible for
  89. any damage that may occur to your system as a result, either
  90. directly or indirectly, of using this program.
  91.  
  92. I guess I'll make this a shareware program.  If you like and use
  93. WINBRAG,  please send an interesting picture postcard to me here
  94. in the frozen Northland of Alaska.  Actually, it's quite nice
  95. today -- the temperature is hovering around 0 degrees F and it's
  96. snowing.
  97.  
  98.  
  99.        Paul Delys
  100.        P.O. Box 83797
  101.        Fairbanks, AK  99708-3797
  102.  
  103.  
  104.  
  105. Enjoy life and be careful with those matches!!